using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// Summary description for UnderAchieved
/// </summary>
public class UnderAchieved
{

    private double score;
    private string questionDescription;
    private int number;

    public int Number { get { return number; } }

    public string QuestionDescription
    {
        get {return questionDescription;}
    }

    public double Socre
    {
        get { return score; }
    }

    public UnderAchieved(Question importance, Question success)
	{
        score = 5*(Convert.ToDouble(importance.Answer.Ans)/9) - Convert.ToInt32(success.Answer.Ans);
        questionDescription = importance.Description;
        number = importance.No;
	}
}
